Skip to content

test(mart): normalizza i path nel confronto per Windows - #571

Merged
Gabrymi93 merged 1 commit into
mainfrom
fix/test-path-windows-570
Dec 1, 2026
Merged

Gabrymi93 merged 1 commit into
mainfrom
fix/test-path-windows-570

Conversation

@matteocavo

Copy link
Copy Markdown
Member

Sintesi

Normalizza i path nelle due asserzioni di test_mart_output_paths_multi_year_resolve_to_dataset_level con Path(o).as_posix(), così il confronto con i suffissi scritti con / passa anche su Windows. La logica di risoluzione dei path non cambia.

Contesto collegato

Closes #570

Cosa cambia

  • Bug fix
  • Nuova feature
  • Refactor
  • Documentazione
  • Test

Impatto su contratti pubblici

Nessuno: cambia solo un test.

Verifica

py -m pytest tests/test_mart_multi_year.py -q
py -m ruff check .
py -m ruff format --check tests/test_mart_multi_year.py
  • pytest: 4 passed su Windows 11, Python 3.14
  • ruff check / format
  • mypy (non necessario, solo test)

Checklist PR

  • Una modifica sola, mirata
  • Nessun file dati versionato

Note per chi revisiona

Su Linux il test passava già; su Windows ora passa.

@matteocavo matteocavo self-assigned this Dec 1, 2026
@matteocavo
matteocavo requested review from a team and Gabrymi93 December 1, 2026 16:34
@Gabrymi93
Gabrymi93 merged commit 33592ea into main Dec 1, 2026
3 checks passed
@Gabrymi93
Gabrymi93 deleted the fix/test-path-windows-570 branch December 1, 2026 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] test_mart_output_paths_multi_year_resolve_to_dataset_level fallisce su Windows (separatore path)

2 participants